#ifndef JOINGAME_H
#define JOINGAME_H

#include <QWidget>
#include <QPainter>
#include "waiting.h"

namespace Ui {
class joingame;
}

class joingame : public QWidget
{
    Q_OBJECT

public:
    explicit joingame(QWidget *parent = 0);
    ~joingame();
    QString IP;
    waiting* wait;

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::joingame *ui;
signals:
    void back();
    void join_in();
};

#endif // JOINGAME_H
